package com.pg.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pg.entity.kgg.EipMovingContact;
import com.pg.mapper.EipMovingContactMapper;
import com.pg.service.EipMovingContactService;

/**
 * <p>
 * 动触头 服务实现类
 * </p>
 *
 * @Author likl
 * @since 2020-10-26
 */
@Service
@DS("proxyDs")
@Primary
public class EipMovingContactServiceImpl extends ServiceImpl<EipMovingContactMapper, EipMovingContact> implements EipMovingContactService {

    @Autowired
    private EipMovingContactMapper eipMovingContactMapper;

    @Override
    public void saveOne(EipMovingContact eipMovingContact) {
        eipMovingContactMapper.insert(eipMovingContact);
    }
}
